package vn.com.absoft.android.musicclock;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class MusicClockActivity extends Activity {
    /** Called when the activity is first created. */
	Button buttonShowUserSetting;
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        addListenerOnButton();
    }
    public void addListenerOnButton() {
  	  final Context context = this;
  	  buttonShowUserSetting = (Button)findViewById(R.id.btnShowUserSetting);
  	  buttonShowUserSetting.setOnClickListener(new OnClickListener() {
  	  public void onClick(View arg0) {
  	    Intent intent = new Intent(context, UserSettingActivity.class);
          startActivity(intent); 
  		}
  	  }); 
  	}  	
}